package mmoon.mmoonstory.commands.absorb;

import mmoon.mmoonstory.interfaces.InitCommand;
import net.minecraft.command.ICommandSender;
import net.minecraftforge.server.command.CommandTreeBase;

public class CommandAbsorb extends CommandTreeBase implements InitCommand {
    public CommandAbsorb() {
        this.addSubcommand(new CommandAbsorbAdd());
        this.addSubcommand(new CommandAbsorbSet());
        this.addSubcommand(new CommandAbsorbGet());
        this.addSubcommand(new CommandAbsorbInf());
        this.init();
    }

    @Override
    public String getName() {
        return "absorb";
    }

    @Override
    public String getUsage(ICommandSender sender) {
        return "absorb <add|set|get|inf> [value]";
    }
}
